﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class DeliveryRobot:Robot
    {
        public string hours { get; set; }
        public override void Working()
        {
            
            Console.WriteLine("名字：{0} 时间：{1}",this.name,this.hours);
            
        }
        public DeliveryRobot(string name,string hours):base(name)
        { this.hours = hours; }
    }
}
